﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Infrastructure.Data.UnitOfWork;

namespace Infrastructure.Data.MembershipModule.test
{
    [TestClass]
    public class AssembyInitializer
    {
        [AssemblyInitialize()]
        public static void RebuildUnitOfWork(TestContext context)
        {
            //Set default initializer for MainBCUnitOfWork
            Database.SetInitializer<MembershipUnitOfWork>(new MembershipUnitOfWorkInitializer());
        }
    }
}
